﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ETA.IService
{
    public interface IReferrerLogService
    {
        /// <summary>
        /// 返回所有请求记录
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        QueryReferrerLogResponse QueryReferrerLogList(QueryReferrerLogRequest req, out int count);

        /// <summary>
        /// 创建一个援助请求
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        CreateReferrerLogResponse CreateReferrerLog(CreateReferrerLogRequest req);

        /// <summary>
        /// 修改援助请求
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        ModifyReferrerLogResponse ModifyReferrerLog(ModifyReferrerLogRequest req);

        /// <summary>
        /// 推荐记录分组结果
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        QueryReferrerLogSumResponse QueryReferrerLogSumList(QuerySumReferrerLogRequest req, out int count);
    }
}
